package com.pozu.new_retail.dao.model;

import java.io.Serializable;

/***
 * 用户基本信息表
 * @author ChaoDaiJin
 * @description 
 * @date 2018年4月18日 下午4:37:57
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long userId;
    
    /** 来源哪个小程序 **/
    private Integer appId;
    
    /** 来源渠道 **/
    private Integer channelId;//
    
    /** 用户类别 默认0普通用户 **/
    private Integer type;
    
    /** 手机号(带国家代码) **/
    private String phone;
    
    /** 密码 **/
    private String password;
    
    /** 昵称 */
    private String nickName;

    /** 性别0未知1男2女 */
    private Integer gender;
 
    /** 头像 */
    private String avatarUrl;
    
    /** 城市 */
    private String city;
    
    /** 省份 */
    private String province;
    
    /** 可使用的积分 **/
    private Double scores;
    
    /** 可提取的佣金 **/
    private Double commission;

    /** 创建时间 */
    private Long createdTime;
    
    /** 更新时间 */
    private Long updatedTime;
   
    /** 默认0删除1 **/
    private Integer state;

	/**微信的授权开放id*/
    private String wxOpenId;

    /**微信的解锁秘钥*/
    private String wxSession_key;

	public String getWxOpenId() {
		return wxOpenId;
	}

	public void setWxOpenId(String wxOpenId) {
		this.wxOpenId = wxOpenId;
	}

	public String getWxSession_key() {
		return wxSession_key;
	}

	public void setWxSession_key(String wxSession_key) {
		this.wxSession_key = wxSession_key;
	}

	public Long getUserId() {
		return userId;

	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getAppId() {
		return appId;
	}

	public void setAppId(Integer appId) {
		this.appId = appId;
	}

	public Integer getChannelId() {
		return channelId;
	}

	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public Double getScores() {
		return scores;
	}

	public void setScores(Double scores) {
		this.scores = scores;
	}

	public Double getCommission() {
		return commission;
	}

	public void setCommission(Double commission) {
		this.commission = commission;
	}

	public Long getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}

	public Long getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Long updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
    
}